package cn.ylz.ylmall.content.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class CommentStandardVO {
    private Long id; //评论id
    private String comment; //评论内容
    private Long userId; //当前用户id
    private String avatar;
    private String username;
    private Long contentId; //评论文章或视频的id
    @JsonFormat(pattern = "yyyy-MM-dd HH-mm-ss",timezone = "Asia/Shanghai")
    private Date createTime; //评论时间
    private Integer pid; //父评论id
}
